# -*- coding: utf-8 -*-
"""
Created on Mon Oct  9 09:19:28 2017

@author: Luther
"""

print(int('5' * 2000) % 84)
